package com.cskaoyan.catmall.service;

import com.cskaoyan.catmall.model.bo.*;
import com.cskaoyan.catmall.model.pojo.MarketOrderGoods;
import com.cskaoyan.catmall.model.vo.*;

import java.util.List;

/**
 * @Author: 逍遥子
 * @Date: 2022/01/07/18:31
 * @Description:
 */
public interface OrderService {

    OrderVo selectOrder(OrderBo orderBo);

    OrderDetailVo selectOrderDetailById(Integer id);

    int updateOrderStatus(ShipBo shipBo);

    List<ChannelVo> selectChannel();

    int deleteOrder(Integer id);

    WxOrderListVo selectOrderList(Integer showType,Integer page, Integer limit);

    void cancelOrder(Integer orderId);

    void refundOrder(Integer orderId);

    void confirmOrder(Integer orderId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    void orderComment(WxCommentBo wxCommentBo);

    WxOrderGoodsDetailVo detail(Integer orderId);

    void deleteOrderById(Integer orderId);
    int OrderRefund(RefundBo refundBo);

    WxOrderSubmitVo submit(WxOrderSubmitBo submitBo);


}
